package cn.com.chengmandian.erp.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 电池资产管理-客户配送员领用详情
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("erp_battery_company_courier")
@ApiModel(value = "ErpBatteryCompanyCourier对象", description = "电池资产管理-客户配送员领用详情")
public class ErpBatteryCompanyCourier implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("运营城市ID")
    private Integer operateId;

    @ApiModelProperty("客户ID")
    private Integer companyId;

    @ApiModelProperty("绑定仓库ID")
    private Integer bindWarehouseId;

    @ApiModelProperty("配送员ID")
    private Integer courierId;

    @ApiModelProperty("借出电池数量")
    private Integer lendBatteryNum;

    @ApiModelProperty("上次领出电池时间")
    private Date lastOutTime;

    @ApiModelProperty("最新领出仓库")
    private Integer lastOutWarehouse;

    @ApiModelProperty("上次还入电池时间")
    private Date lastInTime;

    @ApiModelProperty("最新归还仓库")
    private Integer lastInWarehouse;

    @ApiModelProperty("可用状态")
    private Integer isEnabled;

    @ApiModelProperty("删除状态1-删除 0-未删除")
    @TableLogic(value = "0" ,delval = "1")
    private Integer isDeleted;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("修改时间")
    private Date modifyTime;

}
